package com.TwinBlade.PicturePassword;

import android.graphics.Color;
import android.text.Editable;
import android.text.TextWatcher;
import android.widget.SeekBar;

class h
  implements TextWatcher
{
  h(e parame)
  {
  }

  public void afterTextChanged(Editable paramEditable)
  {
  }

  public void beforeTextChanged(CharSequence paramCharSequence, int paramInt1, int paramInt2, int paramInt3)
  {
  }

  public void onTextChanged(CharSequence paramCharSequence, int paramInt1, int paramInt2, int paramInt3)
  {
    try
    {
      String str = paramCharSequence.toString().replace("#", "");
      if ((str.length() == 6) || (str.length() == 8))
      {
        int i = e.a(this.a, str);
        e.b(this.a).a(i);
        e.a(this.a).b(i);
        e.c(this.a).setProgress(Color.alpha(i));
        e.b(this.a).invalidate();
      }
      return;
    }
    catch (NumberFormatException localNumberFormatException)
    {
    }
  }
}

/* Location:           D:\Studium\Bachelorarbeit\BA Marcus Wobig\BA\BA\Decompiler\PicturePassword APK\Programm\PicturePassword_dex2jar.jar
 * Qualified Name:     com.TwinBlade.PicturePassword.h
 * JD-Core Version:    0.6.2
 */